﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DataTier
{

    public class PartReservation
    {

        private DateTime _pickupDate;
        private DateTime _expirationDate;
        private Station _station;

        public PartReservation(DateTime pickUpDate, DateTime expirationDate, Station station)
        {
            _pickupDate = pickUpDate;
            _expirationDate = expirationDate;
            _station = station;
        }

        public PartReservation()
        {

        }

        public DateTime PickUpDate
        {
            get { return _pickupDate; }
            set { _pickupDate = value; }
        }

        public DateTime ExpirationDate
        {
            get { return _expirationDate; }
            set { _expirationDate= value; }
        }

        public Station Station
        {
            get { return _station; }
            set { _station = value; }
        }

        public override string ToString()
        {
            return _station.ToString();
        }

    }

}
